Package com.cisco.pt.ipc.sim
Interface ClassMapManager
- All Superinterfaces:
IPCObject
- All Known Implementing Classes:
ClassMapManagerImpl
Information provided by the PKI file:
\class ClassMapManager
\brief ClassMapManager is the manager for QoS class maps.
\example network().getDevice("Router0").getClassMapManager()
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionbooleanclassMapExist(String name) Information provided by the PKI file:voiddeleteClassMap(String name) Information provided by the PKI file:getClassMap(String mapname) Information provided by the PKI file:getClassMapAt(int index) Information provided by the PKI file:Information provided by the PKI file:booleanhasCircularReference(String map1, String map2) Information provided by the PKI file:voidrearrangeMaps(String map1, String map2) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Method Details
-
deleteClassMap
Information provided by the PKI file:
\brief Removes the specified class map. \param name, the name of the class map of interest. \param string, the class map name.- Parameters:
name- Takes in a parameter of name
-
classMapExist
Information provided by the PKI file:
\brief Returns true if the specified class map exists, otherwise false. \param name, the name of the class map of interest. \return bool, true if the specified class map exists, otherwise false.- Parameters:
name- Takes in a parameter of name- Returns:
- boolean Returns a boolean
-
getClassMapCount
Short getClassMapCount()Information provided by the PKI file:
\brief Returns the number of class maps. \return short, the number of class maps.- Returns:
- Short Returns a Short
-
getClassMapAt
Information provided by the PKI file:
\brief Returns the ClassMap object at the specified index. \param mapname, the index of the class map of interest. \return ClassMap, the ClassMap object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- ClassMap Returns a ClassMap
-
getClassMap
Information provided by the PKI file:
\brief Returns the ClassMap object with the specified class map name. \param mapname, the name of the class map of interest. \return ClassMap, the ClassMap object with the associated class map name.- Parameters:
mapname- Takes in a parameter of mapname- Returns:
- ClassMap Returns a ClassMap
-
hasCircularReference
Information provided by the PKI file:
\brief Returns true if the two specified class maps are the same, otherwise false. \param map1, the name of the first class map. \param map2, the name of the second class map. \return bool, true if the two specified class maps are the same, otherwise false.- Parameters:
map1- Takes in a parameter of map1map2- Takes in a parameter of map2- Returns:
- boolean Returns a boolean
-
rearrangeMaps
Information provided by the PKI file:
\brief Rearranges the specified class maps such that map1 precedes map2. \param map1, the name of the first class map. \param map2, the name of the second class map.- Parameters:
map1- Takes in a parameter of map1map2- Takes in a parameter of map2
-